package src.lab02.test01.test05;

import java.util.Scanner;

public class Test05 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        Cube cube=new Cube();
        System.out.println("输入长，宽，高：");
        double length=sc.nextDouble();
        double wide=sc.nextDouble();
        double high=sc.nextDouble();
        cube.setLength(length);
        cube.setwide(wide);
        cube.setHigh(high);
        System.out.println(cube.cube());



    }

}
